package com.chinasoft.movies.service.impl;

import com.chinasoft.movies.mapper.GenreTopByVoteMapper;
import com.chinasoft.movies.pojo.GenreTopByVote;
import com.chinasoft.movies.service.GenreTopByVoteService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GenreTopByVoteImpl implements GenreTopByVoteService {
    @Autowired
    private GenreTopByVoteMapper genre_topByVoteMapper;

    @Override
    public List<GenreTopByVote> getAllGenre_top_by_vote() {
        return genre_topByVoteMapper.queryAll();
    }

}
